package com.chinatsp.onlineapp.ui.weather;

import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;



public class WeatherAdapter extends FragmentPagerAdapter{

	private int citySize;
	private Context mContext;
	
	public WeatherAdapter(FragmentManager fm,int CityNum) {
		super(fm);
		
		citySize = CityNum;
	}

	@Override
	public Fragment getItem(int position) {
		WeatherFragment weatherFragment = new WeatherFragment();
		
		return weatherFragment;
	}
	@Override
	public int getCount() {
	
		return citySize;
	}

	

	
	
	
	
	
	
	
	

}
